@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="categoryForm">

            <input type="hidden" id="id" value="${category.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="categoryName" name="分类名称" underline="true" value="${category.categoryName}"/>

                    <#input id="categoryDesc" name="分类描述" underline="true" value="${category.categoryDesc}"/>
                </div>
                <div class="col-sm-6 b-r">
                    <#input id="pName" name="上级分类" readonly="readonly" hidden="parentId"
                            hiddenValue="${category.parentId}" value="${pName}"
                            clickFun="CategoryInfoDlg.showCategorySelectTree(); return false;"
                            style="background-color: #ffffff !important;"/>
                </div>
            </div>
            <!-- 父级分类的选择框 -->
            <div id="parentCategoryMenu" class="menuContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="parentCategoryMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CategoryInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CategoryInfoDlg.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/Category/Category_info.js"></script>
@}
